package bev;

import bev.frames.client.ClientFrame;

public class AppManager {
    ClientFrame clientFrame;

    // The main application entry point. Runs the
    // application and pops up the client frame.
    public void run() {
        ConnectionManager.setAppManager( this );
        clientFrame = new ClientFrame( this );
        clientFrame.setVisible( true );
    }

    public void shutdown() {
        System.exit( 0 );
    }

    public void onConnectionSet() {
        clientFrame.onConnectionSet();
    }
}
